a11y: Stop listening for configure events
authorMatthias Clasen <mclasen@redhat.com>
Mon, 28 Aug 2017 22:52:48 +0000 (18:52 -0400)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 19 Sep 2017 16:39:03 +0000 (18:39 +0200)
This needs to be done differently.

gtk/a11y/gtkaccessibility.c

index 928f8665d0878ea91f9f513a619ea2587f9f5550..6cf86b07ae122b3e2e40130f42faf377d338dc4f 100644 (file)
@@ -841,6 +841,7 @@ state_event_watcher (GSignalInvocationHint *hint,
   return FALSE;
 }
 
+#if 0
 static gboolean
 configure_event_watcher (GSignalInvocationHint *hint,
                          guint                  n_param_values,
@@ -888,6 +889,7 @@ configure_event_watcher (GSignalInvocationHint *hint,
 
   return FALSE;
 }
+#endif
 
 static gboolean
 window_focus (GtkWidget     *widget,
@@ -959,8 +961,10 @@ do_window_event_initialization (void)
   g_type_class_ref (GTK_TYPE_WINDOW_ACCESSIBLE);
   g_signal_add_emission_hook (g_signal_lookup ("window-state-event", GTK_TYPE_WIDGET),
                               0, state_event_watcher, NULL, (GDestroyNotify) NULL);
+#if 0
   g_signal_add_emission_hook (g_signal_lookup ("configure-event", GTK_TYPE_WIDGET),
                               0, configure_event_watcher, NULL, (GDestroyNotify) NULL);
+#endif
 
   root = atk_get_root ();
   g_signal_connect (root, "children-changed::add", (GCallback) window_added, NULL);